@import "./spinner";
@import "./spinner.ios.vars";

// iOS Spinner
// --------------------------------------------------

.spinner-lines-ios line,
.spinner-lines-small-ios line {
  stroke: $spinner-ios-lines-color;
}

.spinner-bubbles-ios circle {
  fill: $spinner-ios-bubbles-color;
}

.spinner-circles-ios circle {
  fill: $spinner-ios-circles-color;
}

.spinner-crescent-ios circle {
  stroke: $spinner-ios-crescent-color;
}

.spinner-dots-ios circle {
  fill: $spinner-ios-dots-color;
}


// Generate iOS Spinner Colors
// --------------------------------------------------

@each $color-name, $color-value in $colors-ios {
  $color-base: ion-color($colors-ios, $color-name, base, ios);

  .spinner-ios-#{$color-name} {

    &.spinner-lines line,
    &.spinner-lines-small line,
    &.spinner-crescent circle {
      stroke: $color-base;
    }

    &.spinner-bubbles circle,
    &.spinner-circles circle,
    &.spinner-dots circle {
      fill: $color-base;
    }
  }
}
